package com.shangqing.system.droughtinformation.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@ApiModel(value = "干旱灾情信息", description = "")
public class DroughtCity {
    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    private int id;
    /**
     * 干旱灾情发生城市
     */
    @ApiModelProperty(value = "城市")
    private String city;
    /**
     * 干旱灾情发生数量
     */
    @ApiModelProperty(value = "数量 ")
    private int number;
    /**
     * 干旱灾情发生占比
     */
    @ApiModelProperty(value = "占比 ")
    private String Accounted;
    /**
     * 干旱灾情发生年
     */
    @ApiModelProperty(value = "年 ")
    private int year;
    /**
     * 干旱灾情发生等级id
     */
    @ApiModelProperty(value = "等级id")
    private int droughtGradeid;
    /**
     * 干旱灾情发生等级数据
     */
    @ApiModelProperty(value = "等级数据")
    private DroughtGrade droughtGrade;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getAccounted() {
        return Accounted;
    }

    public void setAccounted(String accounted) {
        Accounted = accounted;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getDroughtGradeid() {
        return droughtGradeid;
    }

    public void setDroughtGradeid(int droughtGradeid) {
        this.droughtGradeid = droughtGradeid;
    }

    public DroughtGrade getDroughtGrade() {
        return droughtGrade;
    }

    public void setDroughtGrade(DroughtGrade droughtGrade) {
        this.droughtGrade = droughtGrade;
    }
}
